﻿using Heima.OA.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Heima.OA.IBLL
{
    public partial interface IZS_CheckInfoService : IBaseService<ZS_CheckInfo>
    {
        List<ZS_CheckHouseInfo> GetCheckHouseList(int DeclareFamilyId);
        bool AddCheckHouse(int checkId, int buildingId, List<ZS_CheckHouseInfo> checkHouseList);
        bool AddPrivateBusiness(int checkId, int buildingId, List<ZS_CheckPrivatelyBusinessInfo> checkBusinessList);
        bool AddResettlement(int checkId, int familyId, List<ZS_CheckResettlementInfo> checkResettlementList);
        CheckInfoView GetEditViewModel(ZS_CheckInfo checkModel);
        List<object> GetIndexList(List<ZS_CheckInfo> checkList);
        bool DeleteResettlement(int id);
        bool DeleteBusiness(int id);
        object BuildingCheckInfo(int id);

    }
}
